
export interface RGBA {
    r: number;
    g: number;
    b: number;
    a?: number;
}



interface ColorStop {
    color: RGBA;
    offset: number;
}

export interface GradientType {
    type: string;
    angle: number;
    colorStops: ColorStop[];
    coords: {
        x1: number;
        y1: number;
        x2: number;
        y2: number;
    };
}
